package com.example.dao;

import com.example.po.Attendance;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 缺课记录实体类
 */
@Repository
@Mapper
public interface AttendanceDao {
    public int insertAttendance(Attendance attendance);
    public List<Attendance> searchAttendance(Attendance attendance);
    public int searchAttendances(Attendance attendance);
    public List<Attendance> search(Attendance attendance);
    public int deleteAttendance(int id);
    public int updateAttendance(Attendance attendance);
    public List<Attendance> findAttendances(Attendance attendance);
}
